package com.dream.spring.service.impl;

import com.dream.spring.bean.User;
import com.dream.spring.dao.UserDao;
import com.dream.spring.service.UserService;

/**
* @author FanZhiCheng
* @version 创建时间：2019年9月23日 下午2:53:57
* 类说明
*/
public class UserServiceImpl implements UserService {
	
	private UserDao dao;
	public void setDao(UserDao dao){
		this.dao=dao;
	}
	
	public void addUser(User user){
		dao.insertUser(user);
	}
}
